#
# Copyright (C) 2008,2009,2010  Paulo Cesar Pereira de Andrade.
#
# This is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# Authors:
#	Paulo Cesar Pereira de Andrade
#

noinst_LTLIBRARIES = libexl.la
AM_CFLAGS = $(WARN_CFLAGS) $(DEBUG_CFLAGS) $(EXL_CFLAGS)

EXTRA_DIST =		\
	eemit_code.c	\
	ejit_arm.c	\
	ejit_arm-cpu.c	\
	ejit_arm-swf.c	\
	ejit_arm-vfp.c	\
	ejit_mips.c	\
	ejit_mips-cpu.c	\
	ejit_mips-fpu.c	\
	ejit_ppc.c	\
	ejit_ppc-cpu.c	\
	ejit_ppc-fpu.c	\
	ejit_x86.c	\
	ejit_x86-cpu.c	\
	ejit_x86-sse.c	\
	ejit_x86-x87.c	\
	evector_abs.c	\
	evector_acos.c	\
	evector_acosh.c	\
	evector_add.c	\
	evector_and.c	\
	evector_arg.c	\
	evector_asin.c	\
	evector_asinh.c	\
	evector_atan.c	\
	evector_atanh.c	\
	evector_atan2.c	\
	evector_cbrt.c	\
	evector_com.c	\
	evector_conj.c	\
	evector_cos.c	\
	evector_cosh.c	\
	evector_den.c	\
	evector_div.c	\
	evector_div2.c	\
	evector_exp.c	\
	evector_hypot.c	\
	evector_imag.c	\
	evector_log.c	\
	evector_log2.c	\
	evector_log10.c	\
	evector_mul.c	\
	evector_mul2.c	\
	evector_neg.c	\
	evector_num.c	\
	evector_or.c	\
	evector_pow.c	\
	evector_proj.c	\
	evector_rational.c \
	evector_real.c	\
	evector_rem.c	\
	evector_set.c	\
	evector_shl.c	\
	evector_shr.c	\
	evector_sin.c	\
	evector_sinh.c	\
	evector_signbit.c \
	evector_signum.c \
	evector_sqrt.c	\
	evector_sub.c	\
	evector_tan.c	\
	evector_tanh.c	\
	evector_trunc.c	\
	evector_xor.c

libexl_la_SOURCES =	\
	cqq.c		\
	ebuiltin.c	\
	ecfg.c		\
	ecode.c		\
	ecse.c		\
	edata.c		\
	edebug.c	\
	edfa.c		\
	eerror.c	\
	efold.c		\
	efunction.c	\
	ehash.c		\
	ehashtable.c	\
	einfer.c	\
	elive.c		\
	emath.c		\
	empcache.c	\
	enote.c		\
	enumber.c	\
	eobject.c	\
	eoptimize.c	\
	eparser.c	\
	epropagate.c	\
	eread.c		\
	erecord.c	\
	ereduce.c	\
	essa.c		\
	estream.c	\
	estring.c	\
	esymbol.c	\
	etag.c		\
	evector.c	\
	evm.c		\
	evm_cdd.c	\
	evm_cqq.c	\
	evm_float.c	\
	evm_int.c	\
	evm_mpc.c	\
	evm_mpq.c	\
	evm_mpr.c	\
	evm_mpz.c	\
	evm_vector.c	\
	evm_void.c	\
	ewrite.c

if WITH_THREAD
libexl_la_SOURCES +=	\
	ethread.c
endif

if WITH_JITVM
libexl_la_SOURCES +=	\
	eemit.c		\
	ejit.c
else
libexl_la_SOURCES +=	\
	ebytecode.c
endif

if WITH_XWINDOW
libexl_la_SOURCES +=	\
	ewindow.c
endif
